﻿using ADECMS;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.VisualStudio.TestTools.UnitTesting.Web;
using System.Data.Linq;

namespace TestProject
{
    
    
    /// <summary>
    ///This is a test class for CATEGORYTest and is intended
    ///to contain all CATEGORYTest Unit Tests
    ///</summary>
    [TestClass()]
    public class CATEGORYTest
    {


        private TestContext testContextInstance;

        /// <summary>
        ///Gets or sets the test context which provides
        ///information about and functionality for the current test run.
        ///</summary>
        public TestContext TestContext
        {
            get
            {
                return testContextInstance;
            }
            set
            {
                testContextInstance = value;
            }
        }

        #region Additional test attributes
        // 
        //You can use the following additional attributes as you write your tests:
        //
        //Use ClassInitialize to run code before running the first test in the class
        //[ClassInitialize()]
        //public static void MyClassInitialize(TestContext testContext)
        //{
        //}
        //
        //Use ClassCleanup to run code after all tests in a class have run
        //[ClassCleanup()]
        //public static void MyClassCleanup()
        //{
        //}
        //
        //Use TestInitialize to run code before running each test
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{
        //}
        //
        //Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{
        //}
        //
        #endregion


        /// <summary>
        ///A test for type
        ///</summary>
        // TODO: Ensure that the UrlToTest attribute specifies a URL to an ASP.NET page (for example,
        // http://.../Default.aspx). This is necessary for the unit test to be executed on the web server,
        // whether you are testing a page, web service, or a WCF service.
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\dloti\\Documents\\Visual Studio 2008\\Projects\\cmsade\\ADECMS", "/")]
        [UrlToTest("http://localhost:1223/")]
        public void typeTest()
        {
            CATEGORY target = new CATEGORY(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.type = expected;
            actual = target.type;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for NEWs
        ///</summary>
        // TODO: Ensure that the UrlToTest attribute specifies a URL to an ASP.NET page (for example,
        // http://.../Default.aspx). This is necessary for the unit test to be executed on the web server,
        // whether you are testing a page, web service, or a WCF service.
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\dloti\\Documents\\Visual Studio 2008\\Projects\\cmsade\\ADECMS", "/")]
        [UrlToTest("http://localhost:1223/")]
        public void NEWsTest()
        {
            CATEGORY target = new CATEGORY(); // TODO: Initialize to an appropriate value
            EntitySet<NEW> expected = null; // TODO: Initialize to an appropriate value
            EntitySet<NEW> actual;
            target.NEWs = expected;
            actual = target.NEWs;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for name
        ///</summary>
        // TODO: Ensure that the UrlToTest attribute specifies a URL to an ASP.NET page (for example,
        // http://.../Default.aspx). This is necessary for the unit test to be executed on the web server,
        // whether you are testing a page, web service, or a WCF service.
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\dloti\\Documents\\Visual Studio 2008\\Projects\\cmsade\\ADECMS", "/")]
        [UrlToTest("http://localhost:1223/")]
        public void nameTest()
        {
            CATEGORY target = new CATEGORY(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.name = expected;
            actual = target.name;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for id
        ///</summary>
        // TODO: Ensure that the UrlToTest attribute specifies a URL to an ASP.NET page (for example,
        // http://.../Default.aspx). This is necessary for the unit test to be executed on the web server,
        // whether you are testing a page, web service, or a WCF service.
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\dloti\\Documents\\Visual Studio 2008\\Projects\\cmsade\\ADECMS", "/")]
        [UrlToTest("http://localhost:1223/")]
        public void idTest()
        {
            CATEGORY target = new CATEGORY(); // TODO: Initialize to an appropriate value
            int expected = 0; // TODO: Initialize to an appropriate value
            int actual;
            target.id = expected;
            actual = target.id;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for FILEs
        ///</summary>
        // TODO: Ensure that the UrlToTest attribute specifies a URL to an ASP.NET page (for example,
        // http://.../Default.aspx). This is necessary for the unit test to be executed on the web server,
        // whether you are testing a page, web service, or a WCF service.
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\dloti\\Documents\\Visual Studio 2008\\Projects\\cmsade\\ADECMS", "/")]
        [UrlToTest("http://localhost:1223/")]
        public void FILEsTest()
        {
            CATEGORY target = new CATEGORY(); // TODO: Initialize to an appropriate value
            EntitySet<FILE> expected = null; // TODO: Initialize to an appropriate value
            EntitySet<FILE> actual;
            target.FILEs = expected;
            actual = target.FILEs;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for SendPropertyChanging
        ///</summary>
        // TODO: Ensure that the UrlToTest attribute specifies a URL to an ASP.NET page (for example,
        // http://.../Default.aspx). This is necessary for the unit test to be executed on the web server,
        // whether you are testing a page, web service, or a WCF service.
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\dloti\\Documents\\Visual Studio 2008\\Projects\\cmsade\\ADECMS", "/")]
        [UrlToTest("http://localhost:1223/")]
        [DeploymentItem("ADECMS.dll")]
        public void SendPropertyChangingTest()
        {
            CATEGORY_Accessor target = new CATEGORY_Accessor(); // TODO: Initialize to an appropriate value
            target.SendPropertyChanging();
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for SendPropertyChanged
        ///</summary>
        // TODO: Ensure that the UrlToTest attribute specifies a URL to an ASP.NET page (for example,
        // http://.../Default.aspx). This is necessary for the unit test to be executed on the web server,
        // whether you are testing a page, web service, or a WCF service.
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\dloti\\Documents\\Visual Studio 2008\\Projects\\cmsade\\ADECMS", "/")]
        [UrlToTest("http://localhost:1223/")]
        [DeploymentItem("ADECMS.dll")]
        public void SendPropertyChangedTest()
        {
            CATEGORY_Accessor target = new CATEGORY_Accessor(); // TODO: Initialize to an appropriate value
            string propertyName = string.Empty; // TODO: Initialize to an appropriate value
            target.SendPropertyChanged(propertyName);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for detach_NEWs
        ///</summary>
        // TODO: Ensure that the UrlToTest attribute specifies a URL to an ASP.NET page (for example,
        // http://.../Default.aspx). This is necessary for the unit test to be executed on the web server,
        // whether you are testing a page, web service, or a WCF service.
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\dloti\\Documents\\Visual Studio 2008\\Projects\\cmsade\\ADECMS", "/")]
        [UrlToTest("http://localhost:1223/")]
        [DeploymentItem("ADECMS.dll")]
        public void detach_NEWsTest()
        {
            CATEGORY_Accessor target = new CATEGORY_Accessor(); // TODO: Initialize to an appropriate value
            NEW entity = null; // TODO: Initialize to an appropriate value
            target.detach_NEWs(entity);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for detach_FILEs
        ///</summary>
        // TODO: Ensure that the UrlToTest attribute specifies a URL to an ASP.NET page (for example,
        // http://.../Default.aspx). This is necessary for the unit test to be executed on the web server,
        // whether you are testing a page, web service, or a WCF service.
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\dloti\\Documents\\Visual Studio 2008\\Projects\\cmsade\\ADECMS", "/")]
        [UrlToTest("http://localhost:1223/")]
        [DeploymentItem("ADECMS.dll")]
        public void detach_FILEsTest()
        {
            CATEGORY_Accessor target = new CATEGORY_Accessor(); // TODO: Initialize to an appropriate value
            FILE entity = null; // TODO: Initialize to an appropriate value
            target.detach_FILEs(entity);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for attach_NEWs
        ///</summary>
        // TODO: Ensure that the UrlToTest attribute specifies a URL to an ASP.NET page (for example,
        // http://.../Default.aspx). This is necessary for the unit test to be executed on the web server,
        // whether you are testing a page, web service, or a WCF service.
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\dloti\\Documents\\Visual Studio 2008\\Projects\\cmsade\\ADECMS", "/")]
        [UrlToTest("http://localhost:1223/")]
        [DeploymentItem("ADECMS.dll")]
        public void attach_NEWsTest()
        {
            CATEGORY_Accessor target = new CATEGORY_Accessor(); // TODO: Initialize to an appropriate value
            NEW entity = null; // TODO: Initialize to an appropriate value
            target.attach_NEWs(entity);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for attach_FILEs
        ///</summary>
        // TODO: Ensure that the UrlToTest attribute specifies a URL to an ASP.NET page (for example,
        // http://.../Default.aspx). This is necessary for the unit test to be executed on the web server,
        // whether you are testing a page, web service, or a WCF service.
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\dloti\\Documents\\Visual Studio 2008\\Projects\\cmsade\\ADECMS", "/")]
        [UrlToTest("http://localhost:1223/")]
        [DeploymentItem("ADECMS.dll")]
        public void attach_FILEsTest()
        {
            CATEGORY_Accessor target = new CATEGORY_Accessor(); // TODO: Initialize to an appropriate value
            FILE entity = null; // TODO: Initialize to an appropriate value
            target.attach_FILEs(entity);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for CATEGORY Constructor
        ///</summary>
        // TODO: Ensure that the UrlToTest attribute specifies a URL to an ASP.NET page (for example,
        // http://.../Default.aspx). This is necessary for the unit test to be executed on the web server,
        // whether you are testing a page, web service, or a WCF service.
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\dloti\\Documents\\Visual Studio 2008\\Projects\\cmsade\\ADECMS", "/")]
        [UrlToTest("http://localhost:1223/")]
        public void CATEGORYConstructorTest()
        {
            CATEGORY target = new CATEGORY();
            Assert.Inconclusive("TODO: Implement code to verify target");
        }
    }
}
